package net.vkits.common.dto;

import net.vkits.common.BaseModel;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Set;

/**
 * Created by ethan-liu on 16/5/8.
 */
public class RolePermissionDTO extends BaseModel{
    @NotBlank
    private String name;
    private Set<String> permissionIds;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set<String> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(Set<String> permissionIds) {
        this.permissionIds = permissionIds;
    }
}
